//导入  defineStore  定义store
import {defineStore} from "pinia";

export const useTalkAboutStore = defineStore(
    'talkAbout',   //store的文件名字
    {
        state() {      //state这里才是真正存数据的地方
            return {
                talkList:
                    [
                        {id: '1', content: '今天你有点怪，怪可爱的'},
                        {id: '2', content: '给你吃个草莓，今天你想我了没'},
                        {id: '3', content: '心里给你留了一块地，就是对你死心塌地'}
                    ]
            }
        },
    }
)